<template>
  <div>
    <!-- 声明式路由跳转,主要使用router-link中的to实现跳转 -->
    <!-- 跳转时to中添加路径或者location对象 -->
    <router-link to="/home" tag="button">Home</router-link>
    <router-link to="/list" tag="button">list</router-link>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  components: {},
}
</script>

<style></style>
